#ifndef _BUFF_UI_H_
#define _BUFF_UI_H_

#include "base_ui.h"

class Player;
class BuffUI:public BaseUI
{
private:
	Player* pPlayer;

	enum{ICON_COL=2,ICON_ROW=4};
	enum{MAX_BUFF_COUNT = 8};
	int buffCount;

public:

#ifdef _OGRE_3D_

	ImageInfo* vpInfoBuff[MAX_BUFF_COUNT] ;
#endif
	
	BuffUI();

	void init(Player *pl);

#ifdef _OGRE_3D_
	void updateIcon() ;
#endif	

	void setPosToClient(int clientW,int clientH);

	void beClick(int rmx,int rmy,KeyMan& keyMan);

	void draw (HDC hdc);

};

#endif